<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">

  <title>发件管理</title>
  <link rel="stylesheet" type="text/css" href="public/dist/css/zui.min.css" />
  <link rel="stylesheet" href="public/css/background.css">
</head>

<body>
  <div class="panel" id="frame">
    <div class="panel-heading">
      发件管理
    </div>
    <div class="panel-body">

      <div class="col-lg-3 col-sm-3 col-xs-12">
        <div class="with-padding">
            <div class="input-group">
                <span class="input-group-addon">快件名</span>
                <input id="title" type="text" class="form-control" placeholder="快件名">
            </div>
        </div>
    </div>
      <!--用户名-->
      <div class="col-lg-3 col-sm-3 col-xs-12">
        <div class="with-padding">
          <div class="input-group">
            <span class="input-group-addon">寄件人</span>
            <input id="username" type="text" class="form-control" placeholder="寄件人">
          </div>
        </div>
      </div>

      <!-- <div class="col-lg-3 col-sm-3 col-xs-12">
                    <div class="with-padding">
                        <div class="input-group">
                            <span class="input-group-addon">快件类型</span>
                            <select onchange="change()" id="type" class="form-control">
                           
                            </select>
                        </div>
                    </div>
                </div> -->
       <div class="col-lg-3 col-sm-3 col-xs-12">
                <div class="with-padding">
                        <div class="input-group">
                            <span class="input-group-addon">寄件状态</span>
                            <select onchange="changeSendState()" id="sendState" class="form-control">
                            <option value="-1">请选择</option>
                            <option value="0">可寄送</option>
                            <option value="1">要求退单</option>
                            <option value="2">已退单</option>
                            <option value="3">已寄送</option>
                            <option value="4">寄送失败</option>
                            </select>
                        </div>
                    </div>
            </div>



      <div class="col-lg-10 col-sm-6 col-xs-12">
        <div class="with-padding">
          <div class="input-group">
            <span class="input-group-addon">寄件日期</span>
            <input type="date" class="form-control" id="start" onchange="getstartDate()">
            <span class="input-group-addon">至</span>
            <input type="date" class="form-control" id="end" onchange="getendDate()">
          </div>
        </div>
      </div>


      <div class="col-lg-2 col-sm-6 col-xs-12">
        <div class="with-padding">
          <button class="btn  btn-block" onclick="doSend()" type="button">查询</button>
        </div>
      </div>

    </div>
  </div>



  <div class="panel" id="frame">
    <div class="panel-heading">
      数据
    </div>
    <div class="panel-body">

      <table class="table table-bordered" id="table"></table>


      <div class="modal fade" id="sendfile">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span
                            class="sr-only">关闭</span></button>
                    <h4 class="modal-title">进行发件操作</h4>
                </div>
                <div class="modal-body">

                  <div class="form-group">
                    <span>
                        寄送状态:
                    </span>

                    <label>

                        <input type="radio" value="3" name="status1" />已准备好可寄送

                    </label>

                    <label>

                        <input type="radio" value="4" name="status1" />因突发事件不可寄送

                    </label>

                    <!-- <textarea id="content" name="content" class="form-control kindeditor" style="height:150px;">Hello, world!</textarea> -->
                </div>
                    

                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-primary" onclick="confirm()">确定</button>
                </div>
            </div>
        </div>
    </div>


      <div align="center">
        <input type="button" value="上一页" onclick="pageback()">
        &nbsp;<span id="pager">0/0</span>&nbsp;
        <input type="button" value="下一页" onclick="pagenext()">
      </div>


    </div>
  </div>
</body>
<script type="text/javascript" src="public/dist/lib/jquery/jquery.js"></script>
<script type="text/javascript" src="public/dist/js/zui.min.js"></script>
<script type="text/javascript" src="public/layer/layer.js"></script>
<script type="text/javascript" src="public/js/function.js"></script>
<script type="text/javascript" src="public/js/adminSend.js"></script>

</html>